package org.tarena.dang.service;

import java.sql.SQLException;
import java.util.List;

import org.tarena.dang.entity.CartItem;

public interface CartService {
	public boolean buy(int pid)throws SQLException;
	public void del(int pid);
	public void recovery(int pid);
	public void update(int pid,int pnum);
	public List<CartItem> getBuyList(); 
	public List<CartItem> getDelList(); 
	public double count();
	public double blance();
}
